// TestResultVO.java
package com.lufei.message_system.Data.TestResultVD;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@Schema(name = "MBTI测试结果VO")
public class TestResultVO {
    @Schema(description = "记录ID", example = "1")
    private Long id;

    @JsonProperty("userId")
    @Schema(description = "用户ID", example = "20230001")
    private String userId;

    @JsonProperty("name")
    @Schema(description = "用户姓名")
    private String name;

    @JsonProperty("testTime")
    @Schema(description = "测试完成时间", example = "2023-08-01T12:00:00Z")
    private Date testTime;

    @JsonProperty("mbtiType")
    @Schema(description = "MBTI类型", example = "INTJ")
    private String mbtiType;

    @JsonProperty("typeName")
    @Schema(description = "类型名称")
    private String typeName;

    @JsonProperty("eScore")
    @Schema(description = "外向(E)得分", example = "75")
    private Integer eScore;

    @JsonProperty("iScore")
    @Schema(description = "内向(I)得分", example = "25")
    private Integer iScore;

    @JsonProperty("sScore")
    @Schema(description = "实感(S)得分", example = "60")
    private Integer sScore;

    @JsonProperty("nScore")
    @Schema(description = "直觉(N)得分", example = "40")
    private Integer nScore;

    @JsonProperty("tScore")
    @Schema(description = "思考(T)得分", example = "70")
    private Integer tScore;

    @JsonProperty("fScore")
    @Schema(description = "情感(F)得分", example = "30")
    private Integer fScore;

    @JsonProperty("jScore")
    @Schema(description = "判断(J)得分", example = "65")
    private Integer jScore;

    @JsonProperty("pScore")
    @Schema(description = "感知(P)得分", example = "35")
    private Integer pScore;
}